package com.wudizaba.microservicesdemoauth.module.dto;

import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
//@Hidden
@Schema(description = "用户注册")
public class MicroservicesAuthRegisterDTO {

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "姓")
    private String firstName;

    @Schema(description = "名字")
    private String lastName;

    @Schema(description = "手机号码")
    private String phoneNumber;

    @Schema(description = "家庭地址")
    private String address;

    @Schema(description = "居住城市")
    private String city;

    @Schema(description = "省份/州")
    private String state;

    @Schema(description = "国家")
    private String country;

    @Schema(description = "邮政编码")
    private String zipCode;

    @Schema(description = "出生日期")
    private LocalDate dateOfBirth;
}
